<input type="hidden" id="hisPage" value="{{params.hisPage}}"/>
<input type="hidden" id="getKeywords" value="{{params.keywords}}"/>
<div class="top-bar">
	<div class="">
		<input id="keyword" type="text" class="search_input1 search-query" placeholder="姓名、工号">
		<div class="btn-group">
			<button id="searchBtn" class="btn btn-purple btn-small">搜　索</button>
			<button id="drowdown" class="btn btn-purple btn-small dropdown-toggle">
				<span class="caret"></span>
			</button>
		</div>
	</div>
</div>
<div id="custom_search_panel" class="row-fluid">
	<div class="span12 basebox">
		<a id="removeBtn"> <i class="icon-remove remove"></i>
		</a>
		<div class="search_type search_group">
			<span>高级搜索:</span>
			<span class="group_right">
				<span class="type_item">
					<input id="search_check_depar" name="search_key" type="radio" value="1" checked="check">
					<span class="lbl">&nbsp;部门</span>
				</span>
				<span class="type_item">
					<input id="search_check_entry" name="search_key" type="radio" value="2">
					<span class="lbl">&nbsp;入职时间</span>
				</span>
				<span class="type_item">
					<input id="search_check_departure" name="search_key" type="radio" value="3">
					<span class="lbl">&nbsp;离职时间</span>
				</span>
			</span>
		</div>
		<div class="search_key search_group">
			<span class="keyword_title">条 件:</span>
			<span id="keyword_content">
				<input id="chooseDeptID"  type="hidden">
				<input id="chooseDept" class="group_right search_input" type="text" style="width:300px"></span>
			<span>
				<button id="search_btn" class="btn btn-small">搜　索</button>
				{{! <i class="icon-search" id="nav-search-icon"></i>
				}}
			</span>
		</div>
	</div>
</div>

<div class="contract-content">

	<div class="widget-box transparent">
		<div class="widget-header">
			<h3 class="smaller lighter green">员工信息列表</h3>

			<span class="pull-right" >
				<a href="/staff/new" class="btn btn-success btn-small">+添加员工</a>
			</span>
			<span class="green pull-right" style="margin-right:10px;" >
				<label id="itemLabel">
					展现
					<select id="pageSize" class="mySelect">
						<option value="10" selected="selected">10</option>
						<option value="20">20</option>
						<option value="30">30</option>
					</select>
					条
				</label>
			</span>

		</div>
	</div>

	<div id="tabCont_wrapper" class="dataTables_wrapper" role="grid">
		<table id="table_bug_report" class="table table-striped table-bordered table-hover" algin="center">
			<thead>
				<tr>
					{{!
					<th class="center">
						<label>
							<input type="checkbox">
							<span class="lbl"></span>
						</label>
					</th>
					}}
					<th class="center">工号</th>
					<th class="center">姓名</th>
					<th class="center">性别</th>
					<th class="center">职位</th>
					<th class="center">行政归属部门</th>
					<th class="center">入职时间</th>
					<th class="center">操作</th>
				</tr>
			</thead>

			<tbody id="staffBody"></tbody>
		</table>
		<div id="tip"></div>
		<div id="paginator"></div>
		{{! <div>
			<span class="pull-right" id="showCount" style="margin-top:-50px; margin-right:150px; color:#6faed9;font-size:13px;"></span>
			</div> }}

		<!-- <div class="row-fluid" style="margin-top:-20px;">
		-->
		<div id="example" style="margin:0 1px"></div>
		<!-- </div>--></div>
</div>
<div id="showOrgs" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
		<h3 id="title">选择部门</h3>
	</div>
	<div class="modal-body">
		<div id="chooseOrg"></div>

	</div>
	<div class="modal-footer">
		<!-- <button id="choosenOrg"class="btn btn-primary">确定</button>
	-->
	<button id="cancle" class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
</div>
</div>